package com.liuxia8.glide;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

/**
 * Created by Administrator on 2017/3/4.
 */

public class DetailActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.detail);
        ImageView img = (ImageView) findViewById(R.id.img);
        Glide.with(this).load("http://mat1.gtimg.com/www/images/qq2012/festival/qiufen2017bg.jpg")
                .into(img);
    }
}
